#ifndef _OOIMAGE_H_
#define _OOIMAGE_H_

#include "ooengine.h"

//------------------------------------------------------------------------
class ooTexture;

//------------------------------------------------------------------------
class ooImage
{
public:
	ooImage();
	ooImage(const ooImage& img);
	ooImage(const String& name,float tfU,float tfV,float brU,float brV,dbbsize width,dbbsize height,ooTexture* tex);
	~ooImage();

	bool			operator==(const ooImage& img) const;
	void			operator=(const ooImage& img);

	const String&	getName() const;
	Ptr<ooTexture>	getTexture() const;

private:
	String			m_name;

	float			m_tfU;
	float			m_tfV;
	float			m_brU;
	float			m_brV;
	dbbsize			m_width;
	dbbsize			m_height;
	//weak ptr
	ooTexture*		m_texture;
};

#include "graphics/ooimage.inl"

#endif